package com.lyf.practice.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @AUTHOR LYF
 * @DATE 2022/5/23
 * @VERSION 1.0
 * @DESC
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @ResponseBody
    @GetMapping("/testStr")
    public String test(String str){return "hello,spring boot!";}
}

